<!DOCTYPE html>
<html>
{include file="public/head" /}
<style>
    table {
        table-layout: fixed;
    }


    td {
		font-size:12px;

        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
</style>
<body class="zanpian-body">
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="callout callout-title">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                <h4>{$nav.title}</h4>
                {notempty name="nav.remark"}
                <p>{$nav.remark}</p>
                {/notempty}
</div>
          <div class="nav-tabs-custom">
             <ul class="nav nav-tabs">
            <li class="active"><a href="#tab_1" data-toggle="tab">基本设置</a></li>  
            <li><a href="#tab_2" data-toggle="tab">卡密充值</a></li>
            <li><a href="#tab_3" data-toggle="tab">支付宝</a></li> 
            <li><a href="#tab_4" data-toggle="tab">微信支付</a></li> 
            <li><a href="#tab_5" data-toggle="tab">码支付</a></li> 
            <li><a href="#tab_6" data-toggle="tab">艾特付</a></li>        
            </ul>          
            <form id="myform" class="myform form-horizontal"  method="post" action="{:url('payup')}" load="no">
           <div class="panel-body">
           <div class="tab-content tab-fade fade active in" id="tab_1">
           <div class="row">
     
              
                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">用户充值最低金额：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w200" id="pay_small" name="pay[pay_small]" value="{$pay['pay_small']|default='5'}" placeholder="用户每次充值最低充值金额" ><span class="tips">用户每次充值最低充值金额</span>
              </div>              

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">用户充值积分比例：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w200" id="pay_scale" name="pay[pay_scale]" value="{$pay['pay_scale']|default='10'}" placeholder="1RMB等于多少积分" ><span class="tips">1RMB等于多少积分
</span>
              </div>              
                

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">VIP会员售价：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w200" id="pay_vip_day" name="pay[pay_vip_day]" value="{$pay['pay_vip_day']|default='10'}" placeholder="（积分/天），按（天）销售" ><span class="tips">（积分/天），按（天）销售
</span>
              </div>              

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">VIP购买最少天数：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w200" id="pay_vip_small" name="pay[pay_vip_small]" value="{$pay['pay_vip_small']|default='5'}" placeholder="用户升级时自动计算所需积分。" ><span class="tips">用户升级时自动计算所需积分。</span>
              </div> 
               
                   <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">记录通知记录：</span>
                </div>
                <!-- /btn-group -->
                <div class="select-group w200">
               <select name="pay[pay_notify]" class="form-control select2" style="width:100%">
                <option value="0">否</option>
                <option value="1" {eq name="pay['pay_notify']" value="1"}selected{/eq}>是</option>
                </select>
                </div>
                <span class="tips" style="float:none; float:left">用于记录支付接口回调通知。</span>
              </div>               
               
</div>
            </div>

            <div class="tab-content tab-fade fade" id="tab_2">
            <div class="row">
             
                 <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">卡密出售网址链接：</span>
                </div>
                <!-- /btn-group -->
            <input type="text" class="form-control text-left" id="pay_card_url" name="pay[pay_card_url]" value="{$pay['pay_card_url']|default=''}" placeholder="第三方24小时自动卡密出售网址" >
              </div> 
                                                                  
            </div>
            
            </div>
             <div class="tab-content tab-fade fade" id="tab_3">
             <div class="row">
                                 <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">收款账号：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w60" id="alipay_account" name="pay[alipay_account]" value="{$pay['alipay_account']|default=''}"><span class="tips">收款账号</span>
              </div>              
                

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">合作者身份：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w60" id="alipay_appid" name="pay[alipay_appid]" value="{$pay['alipay_appid']|default=''}"><span class="tips">APPID</span>
              </div>              

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">安全校验码：</span>
                </div>
                <input type="text" class="form-control text-center w60" id="alipay_appkey" name="pay[alipay_appkey]" value="{$pay['alipay_appkey']|default=''}"><span class="tips">APPKEY。</span>
              </div>              
                
<!--                <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">APPID：</span>
                </div>

                <input type="text" class="form-control text-center w60" id="alipay_app_id" name="pay[alipay_app_id]" value="{$pay['alipay_app_id']|default=''}"><span class="tips">支付宝APP_ID</span>
              </div>              
                

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">支付宝公钥：</span>
                </div>

                <input type="text" class="form-control text-center w60" id="alipay_public_key" name="pay[alipay_public_key]" value="{$pay['alipay_public_key']|default=''}"><span class="tips">支付宝公钥(1行填写)</span>
              </div>              

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">支付宝私钥：</span>
                </div>
               
                <input type="text" class="form-control text-center w60" id="alipay_private_key" name="pay[alipay_private_key]" value="{$pay['alipay_private_key']|default=''}"><span class="tips">支付宝私钥(1行填写)。</span>
              </div> --> 
              
                   <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">支付宝状态：</span>
                </div>
               <span class="text-link form-control" style="border-top:none; border-bottom:none; border-right:">
     <label class="pretty prettyw circle primary">
	  <input name="pay[alipay_status]" type="radio" value="0" {eq name="pay['alipay_status']" value="0"}checked{/eq}> 
	  <label><i class="default"></i> 停用</label>
	</label>
    <label class="pretty prettyw circle primary">
	  <input name="pay[alipay_status]" type="radio" value="1" {eq name="pay['alipay_status']" value="1"}checked{/eq}> 
	  <label><i class="default"></i> 启用</label>
	</label>
	</span> 
              </div>                
                 
                          
             </div>
             
             
  
            </div>  
             <div class="tab-content tab-fade fade" id="tab_4">
             <div class="row">
                                            <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">APPID：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w60" id="weixin_app_id" name="pay[weixin_app_id]" value="{$pay['weixin_app_id']|default=''}"><span class="tips">微信APP_ID</span>
              </div>              
                

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">微信商户号：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w60" id="weixin_mch_id" name="pay[weixin_mch_id]" value="{$pay['weixin_mch_id']|default=''}"><span class="tips">微信支付商户号</span>
              </div>              

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">微信支付密钥：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w60" id="weixin_mch_key" name="pay[weixin_mch_key]" value="{$pay['weixin_mch_key']|default=''}"><span class="tips">微信密钥(1行填写)。</span>
              </div>  
                   <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">微信状态：</span>
                </div>
               <span class="text-link form-control" style="border-top:none; border-bottom:none; border-right:">
     <label class="pretty prettyw circle primary">
	  <input name="pay[weixin_status]" type="radio" value="0" {eq name="pay['weixin_status']" value="0"}checked{/eq}> 
	  <label><i class="default"></i> 停用</label>
	</label>
    <label class="pretty prettyw circle primary">
	  <input name="pay[weixin_status]" type="radio" value="1" {eq name="pay['weixin_status']" value="1"}checked{/eq}> 
	  <label><i class="default"></i> 启用</label>
	</label>
	</span> 
    </div>
              </div>  
            </div>                    
           <!-- /.tab-content --> 
             <div class="tab-content tab-fade fade" id="tab_5">
             <div class="row">
                                            <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">码支付ID：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w60" id="codepay_id" name="pay[codepay_id]" value="{$pay['codepay_id']|default=''}"><span class="tips">码支付ID</span>
              </div>              
                

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">通信密钥：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w60" id="codepay_key" name="pay[codepay_key]" value="{$pay['codepay_key']|default=''}"><span class="tips">通信密钥</span>
              </div>              

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">支付方式：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w50" id="codepay_type" name="pay[codepay_type]" value="{$pay['codepay_type']|default='1,2'}"><span class="tips">支付方式,1:支付宝,3:微信,2:QQ钱包 多个请使用逗号隔开。</span>
              </div>  
                   <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">码支付状态：</span>
                </div>
               <span class="text-link form-control" style="border-top:none; border-bottom:none; border-right:">
     <label class="pretty prettyw circle primary">
	  <input name="pay[codepay_status]" type="radio" value="0" {eq name="pay['codepay_status']" value="0"}checked{/eq}> 
	  <label><i class="default"></i> 停用</label>
	</label>
    <label class="pretty prettyw circle primary">
	  <input name="pay[codepay_status]" type="radio" value="1" {eq name="pay['codepay_status']" value="1"}checked{/eq}> 
	  <label><i class="default"></i> 启用</label>
	</label>
	</span> 
              </div>  
            </div>  
            </div>                 
           <!-- /.tab-content -->    
                   
             <div class="tab-content tab-fade fade" id="tab_6">
             <div class="row">
                                            <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">商户ID：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w60" id="atfpay_id" name="pay[atfpay_id]" value="{$pay['atfpay_id']|default=''}"><span class="tips">商户ID</span>
              </div>              
                

                  <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">商户密钥：</span>
                </div>
                <!-- /btn-group -->
                <input type="text" class="form-control text-center w60" id="atfpay_key" name="pay[atfpay_key]" value="{$pay['atfpay_key']|default=''}"><span class="tips">商户密钥</span>
              </div>              

           
                   <div class="input-group margin15">
                <div class="input-group-btn">
                  <span class="btn btn-default form-txt">状态：</span>
                </div>
               <span class="text-link form-control" style="border-top:none; border-bottom:none; border-right:">
     <label class="pretty prettyw circle primary">
	  <input name="pay[atfpay_status]" type="radio" value="0" {eq name="pay['atfpay_status']" value="0"}checked{/eq}> 
	  <label><i class="default"></i> 停用</label>
	</label>
    <label class="pretty prettyw circle primary">
	  <input name="pay[atfpay_status]" type="radio" value="1" {eq name="pay['atfpay_status']" value="1"}checked{/eq}> 
	  <label><i class="default"></i> 启用</label>
	</label>
	</span> 
              </div> 
              </div> 
            </div>                    
           <!-- /.tab-content -->                  
           
         </div>
         <!-- /.panel-body --> 
         
        <div class="layui-layer-footer">
            <div  class="footer-btn">
               <button type="submit" class="btn btn-success btn-embossed">修改</button>
               <button type="reset" class="btn btn-default btn-embossed">重置</button>
            </div>
       </div> 
              </form> 
          </div>
          <!-- /.nav-tabs-custom -->
        </div>
        </div>
        </section>
{include file="public/footer" /}
<script type="text/javascript">
$(document).ready(function(){
	zanpian.cms.all();
});	
</script>
</body>
</html>
